package com.example.springbootdemo.infra.mapper;

import com.example.springbootdemo.domin.entity.Course;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CourseMapper {
    Course getCourse(Course course);

    void addCourse(Course course);

    void updateCourse(Course course);

    void deleteCourse(Integer cno);

    List<Course> getAll();

}
